package com.dwxt.cdms.entity;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.Date;

@NoArgsConstructor
@Data
@Accessors(chain = true)
@Table(name = "lb_watch_step")
public class LbWatchStep {

    @Id
    private String id;

    @Column(name = "customer_id")
    private Integer customerId;

    @Column(name = "deviceMac")
    private String deviceMac;

    @Column(name = "stepsNumber")
    private Integer stepsNumber;

    @Column(name = "recordTime")
    private Date recordTime;

    @Column(name = "createTime")
    private Date createTime;

    @Transient
    private String phone;
    @Transient
    private String name;
    @Transient
    private Integer customerType;
    @Transient
    private Integer serviceType;
    @Transient
    private String theOldType;

}
